import Mock from 'mockjs'

const projectList = Mock.mock({
  'list|20': [
    {
      name: '@cname', // 中文名
      account: `@word`, // 英文单词
      phone: /1[3-9][0-9]{9}/, // 正则模式
      deptName: Mock.mock('@cword(2,4)'), // 随机2-4字中文单词
      id: '@guid' // guid
    }
  ]
})

export default [
  {
    url: '/fetttt',
    type: 'get',
    response: (res) => {
      return {}
    }
  },
  {
    url: '/form/template/type/list',
    type: 'get',
    response: (res) => {
      return {
        code: 200,
        msg: null,
        data: [
          {
            id: 69,
            createTime: '2023-04-09 20:17:09',
            updateTime: '2024-03-25 21:30:59',
            name: '数据收集',
            sort: 2
          },
          {
            id: 68,
            createTime: '2023-04-09 20:17:03',
            updateTime: '2023-09-25 15:46:42',
            name: '调查',
            sort: 1
          },
          {
            id: 70,
            createTime: '2023-04-14 17:44:11',
            updateTime: null,
            name: '数据中心',
            sort: 1
          },
          {
            id: 74,
            createTime: '2023-04-23 09:15:42',
            updateTime: '2023-05-12 14:36:07',
            name: '考试',
            sort: null
          },
          {
            id: 82,
            createTime: '2023-06-13 19:05:07',
            updateTime: null,
            name: '测评',
            sort: null
          },
          {
            id: 86,
            createTime: '2023-08-23 14:45:35',
            updateTime: null,
            name: '卫生',
            sort: null
          },
          {
            id: 87,
            createTime: '2024-04-07 10:36:18',
            updateTime: null,
            name: '12',
            sort: null
          }
        ],
        success: true
      }
    }
  },
  {
    url: '/user/form/LJaJ4FNx',
    type: 'get',
    response: (res) => {
      return {
        code: 200,
        msg: null,
        data: {
          id: 43083,
          createTime: '2024-11-19 22:50:25',
          updateTime: '2024-11-20 00:22:42',
          formKey: 'LJaJ4FNx',
          name: '<p>测试表单</p>',
          textName: '测试表单',
          description:
            '<div class="form-header__container">\n<div class="form-header__title">移动校园活动续约登记</div>\n</div>\n<div class="published-form__body">\n<div class="ant-row fields">\n<div class="display-field-container" data-apicode="field_36">\n<div class="widget-buttons-container">\n<div class="widget-buttons-item"> </div>\n</div>\n</div>\n</div>\n</div>',
          sourceType: 1,
          sourceTypeDesc: '空白创建',
          sourceId: null,
          userId: 8849,
          status: 3,
          statusDesc: '停止发布',
          type: 1,
          typeDesc: '普通表单',
          deleted: false,
          folder: false,
          folderId: 0
        },
        success: true
      }
    }
  },
  {
    url: '/user/form/item/list',
    type: 'get',
    response: (res) => {
      return {
        code: 200,
        msg: null,
        data: [
          {
            id: 244056,
            createTime: '2024-11-19 23:46:29',
            updateTime: '2024-11-19 23:47:25',
            formKey: 'LJaJ4FNx',
            formItemId: 'image1732031187969',
            type: 'IMAGE',
            label: '图片展示',
            displayType: true,
            hideType: false,
            specialType: false,
            showLabel: false,
            defaultValue: null,
            required: false,
            placeholder: '',
            sort: 32768,
            span: 24,
            scheme: {
              alt: '',
              fit: 'contain',
              src: 'https://pro-oss.tduckcloud.com/proImage/6c2fdcf862a752ca2c9e49866a05e1df/fbcf03b2ae3a4f019dd2cb2c2d4c1a77.png',
              sort: 32768,
              style: {
                width: '100%'
              },
              config: {
                tag: 't-image',
                span: 24,
                error: 'image',
                label: '图片展示',
                formId: 'image1732031187969',
                regList: [],
                tagIcon: 'image',
                required: false,
                changeTag: true,
                renderKey: 'image17320311879691732031187969',
                showLabel: false,
                labelWidth: null,
                displayType: true,
                showRegList: false,
                showRequired: false,
                showClearable: false,
                showDefaultValue: false
              },
              typeId: 'IMAGE',
              vModel: 'image1732031187969'
            },
            regList: [],
            textLabel: '图片展示'
          },
          {
            id: 244062,
            createTime: '2024-11-19 23:55:59',
            updateTime: '2024-11-20 00:04:30',
            formKey: 'LJaJ4FNx',
            formItemId: 'select1732031757417',
            type: 'SELECT',
            label:
              '<p><strong>学校</strong></p>\n<p><span style="font-size: 12px;">可以通过<span style="color: #e03e2d;">搜索简称</span>查找具体学校：<span style="color: #e03e2d;">如四川大学搜索“川大”</span></span></p>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: '1',
            required: true,
            placeholder: '请选择下拉选择',
            sort: 1245184,
            span: 24,
            scheme: {
              sort: 1245184,
              style: {
                width: '100%'
              },
              config: {
                tag: 't-select',
                span: 24,
                label:
                  '<p><strong>学校</strong></p>\n<p><span style="font-size: 12px;">可以通过<span style="color: #e03e2d;">搜索简称</span>查找具体学校：<span style="color: #e03e2d;">如四川大学搜索“川大”</span></span></p>',
                formId: 'select1732031757417',
                options: [
                  {
                    label: '四川大学-江安校区',
                    value: 1
                  },
                  {
                    label: '四川大学-望江校区',
                    value: 2
                  },
                  {
                    label: '西华民族大学-双流校区',
                    value: 3
                  }
                ],
                regList: [],
                tagIcon: 'select',
                required: true,
                changeTag: true,
                mobileTag: 'mobile-t-select',
                renderKey: 'select17320317574171732031757417',
                showLabel: true,
                labelWidth: null,
                optionsType: 0,
                defaultValue: 1,
                dynamicOptions: {
                  url: '',
                  dataPath: '',
                  labelField: '',
                  valueField: ''
                }
              },
              typeId: 'SELECT',
              vModel: 'select1732031757417',
              disabled: false,
              multiple: false,
              clearable: true,
              filterable: false,
              placeholder: '请选择下拉选择'
            },
            regList: [],
            textLabel: '学校\n可以通过搜索简称查找具体学校：如四川大学搜索“川大”'
          },
          {
            id: 244063,
            createTime: '2024-11-19 23:58:39',
            updateTime: '2024-11-20 00:01:51',
            formKey: 'LJaJ4FNx',
            formItemId: 'cascader1732031916470',
            type: 'CASCADER',
            label: '<div class="ant-col ant-form-item-label"><strong>请选择具体活动内容</strong></div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: '["y1u5Nl","Ti2Cbd"]',
            required: true,
            placeholder: '请选择级联选择',
            sort: 1376256,
            span: 24,
            scheme: {
              sort: 1376256,
              props: {
                props: {
                  label: 'label',
                  value: 'value',
                  children: 'children',
                  multiple: false
                }
              },
              style: {
                width: '100%'
              },
              config: {
                tag: 't-cascader',
                url: '',
                span: 24,
                label: '<div class="ant-col ant-form-item-label"><strong>请选择具体活动内容</strong></div>',
                formId: 'cascader1732031916470',
                method: 'get',
                dataKey: 'list',
                options: [
                  {
                    id: 100,
                    label: '原价48元套餐',
                    level: 0,
                    value: 'y1u5Nl',
                    children: [
                      {
                        id: 101,
                        label: '缴费0.01元',
                        level: 0,
                        value: 'Ti2Cbd'
                      },
                      {
                        id: 102,
                        label: '缴费50元',
                        level: 0,
                        value: 'bOHHuF'
                      },
                      {
                        id: 103,
                        label: '缴费100元',
                        level: 0,
                        value: 'EkM4kw'
                      }
                    ]
                  },
                  {
                    id: 104,
                    label: '原价68元套餐',
                    level: 0,
                    value: 'zsPtqd',
                    children: [
                      {
                        id: 105,
                        label: '缴费0.01元',
                        level: 0,
                        value: 'cDwEaF'
                      },
                      {
                        id: 106,
                        label: '缴费50元',
                        level: 0,
                        value: 'EMlAVy'
                      },
                      {
                        id: 107,
                        label: '缴费100元',
                        level: 0,
                        value: 'P6G82w'
                      }
                    ]
                  }
                ],
                regList: [],
                tagIcon: 'cascader',
                required: true,
                changeTag: true,
                renderKey: 'cascader17320319164701732031916470',
                showLabel: true,
                labelWidth: null,
                optionsType: 0,
                defaultValue: ['y1u5Nl', 'Ti2Cbd'],
                dynamicOptions: {
                  url: '',
                  dataPath: '',
                  labelField: '',
                  valueField: '',
                  childrenField: ''
                }
              },
              typeId: 'CASCADER',
              vModel: 'cascader1732031916470',
              disabled: false,
              clearable: true,
              separator: '/',
              filterable: false,
              placeholder: '请选择级联选择',
              'show-all-levels': true
            },
            regList: [],
            textLabel: '请选择具体活动内容'
          },
          {
            id: 244064,
            createTime: '2024-11-20 00:01:58',
            updateTime: '2024-11-20 00:04:24',
            formKey: 'LJaJ4FNx',
            formItemId: 'select1732032116572',
            type: 'SELECT',
            label:
              '<div class="ant-col ant-form-item-label"><label class="ant-form-item-no-colon" title=""><span class="label-item ck-content">办理后套餐月租</span></label></div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px;">请按照<span style="color: #e03e2d;"><strong>宣传套餐月租</strong><strong>填写</strong></span>，如填写错误后，可能导致月租与宣传不一致</span></p>\n</div>\n</div>\n</div>\n</div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: null,
            required: true,
            placeholder: '请选择下拉选择',
            sort: 1441792,
            span: 24,
            scheme: {
              sort: 1441792,
              style: {
                width: '100%'
              },
              config: {
                tag: 't-select',
                span: 24,
                label:
                  '<div class="ant-col ant-form-item-label"><label class="ant-form-item-no-colon" title=""><span class="label-item ck-content">办理后套餐月租</span></label></div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px;">请按照<span style="color: #e03e2d;"><strong>宣传套餐月租</strong><strong>填写</strong></span>，如填写错误后，可能导致月租与宣传不一致</span></p>\n</div>\n</div>\n</div>\n</div>',
                formId: 'select1732032116572',
                options: [
                  {
                    label: '办理后套餐月租20元',
                    value: 1
                  },
                  {
                    label: '办理后套餐月租30元',
                    value: 2
                  },
                  {
                    label: '办理后套餐月租40元',
                    value: 3
                  },
                  {
                    label: '办理后套餐月租50元',
                    value: 4
                  }
                ],
                regList: [],
                tagIcon: 'select',
                required: true,
                changeTag: true,
                mobileTag: 'mobile-t-select',
                renderKey: 'select17320321165721732032116572',
                showLabel: true,
                labelWidth: null,
                optionsType: 0,
                dynamicOptions: {
                  url: '',
                  dataPath: '',
                  labelField: '',
                  valueField: ''
                }
              },
              typeId: 'SELECT',
              vModel: 'select1732032116572',
              disabled: false,
              multiple: false,
              clearable: true,
              filterable: false,
              placeholder: '请选择下拉选择'
            },
            regList: [],
            textLabel: '办理后套餐月租\n\n\n\n\n请按照宣传套餐月租填写，如填写错误后，可能导致月租与宣传不一致\n\n\n\n'
          },
          {
            id: 244065,
            createTime: '2024-11-20 00:03:23',
            updateTime: '2024-11-20 00:04:19',
            formKey: 'LJaJ4FNx',
            formItemId: 'phone_verification1732032201587',
            type: 'PHONE_VERIFICATION',
            label:
              '<div class="ant-col ant-form-item-label">\n<div><strong>校园卡续约号码</strong></div>\n</div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px; color: #e03e2d;">续约活动的手机号</span></p>\n<p><span style="font-size: 12px; color: #e03e2d;">或办理新卡后能联系的旧卡号码</span></p>\n</div>\n</div>\n</div>\n</div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: null,
            required: true,
            placeholder: '请完成手机号验证',
            sort: 1507328,
            span: 24,
            scheme: {
              sort: 1507328,
              style: {
                width: '100%'
              },
              config: {
                tag: 'phone-verification',
                span: 24,
                label:
                  '<div class="ant-col ant-form-item-label">\n<div><strong>校园卡续约号码</strong></div>\n</div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px; color: #e03e2d;">续约活动的手机号</span></p>\n<p><span style="font-size: 12px; color: #e03e2d;">或办理新卡后能联系的旧卡号码</span></p>\n</div>\n</div>\n</div>\n</div>',
                formId: 'phone_verification1732032201587',
                regList: [],
                tagIcon: 'mobile',
                required: true,
                changeTag: false,
                renderKey: 'phone_verification17320322015871732032201587',
                showLabel: true,
                labelWidth: null,
                showRegList: false
              },
              typeId: 'PHONE_VERIFICATION',
              vModel: 'phone_verification1732032201587',
              placeholder: '请完成手机号验证'
            },
            regList: [],
            textLabel: '\n校园卡续约号码\n\n\n\n\n\n续约活动的手机号\n或办理新卡后能联系的旧卡号码\n\n\n\n'
          },
          {
            id: 244067,
            createTime: '2024-11-20 00:04:55',
            updateTime: '2024-11-20 00:06:27',
            formKey: 'LJaJ4FNx',
            formItemId: 'checkbox1732032294276',
            type: 'CHECKBOX',
            label:
              '<div class="ant-col ant-form-item-label">\n<div><strong>电子协议内容</strong></div>\n</div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px;">宽带需移动网络覆盖区域才可使用，48套餐宽带限部分校区使用</span></p>\n</div>\n</div>\n</div>\n</div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: '[]',
            required: true,
            placeholder: '',
            sort: 1703936,
            span: 24,
            scheme: {
              size: 'medium',
              sort: 1703936,
              style: {},
              config: {
                tag: 't-checkbox-group',
                span: 24,
                label:
                  '<div class="ant-col ant-form-item-label">\n<div><strong>电子协议内容</strong></div>\n</div>\n<div class="ant-col ant-form-item-control">\n<div class="ant-form-item-control-input">\n<div class="ant-form-item-control-input-content">\n<div class="field__description ck-content">\n<p><span style="font-size: 12px;">宽带需移动网络覆盖区域才可使用，48套餐宽带限部分校区使用</span></p>\n</div>\n</div>\n</div>\n</div>',
                border: false,
                formId: 'checkbox1732032294276',
                inline: false,
                options: [
                  {
                    label:
                      '1、套餐及送话费活动为预约办理，预约后48小时内客服将联系您！业务办理成功后，参与活动金额（包含三方服务费）不予退还。支付成功之后若因为活动冲突不能办理，将于48小时内原路返还已支付费用（包含三方服务费）,不承担其它损失。',
                    value: 1,
                    quotaSetting: null
                  },
                  {
                    label:
                      '2、原价套餐对应20/30/40G国内流量（不含港澳台地区，套外0.29元/兆，前3G，5元/G，3G后3元/G）国内语音100/200/320分钟，根据赠送权益最多赠送100分钟/月语音4年，超出0.15元/分钟。成功后合约期为12/24月，期间不能销户、过户、携号转网和报停、降低套餐等。权益赠送宽带、校园WIFI、校区流量等限成都覆盖校区使用。权益有效期最长为48月，到期后可以联系企业微信客服续退，不退订将会按原价收费。',
                    value: 2,
                    quotaSetting: null
                  }
                ],
                regList: [],
                tagIcon: 'checkbox',
                required: true,
                changeTag: true,
                hideQuota: false,
                renderKey: 'checkbox17320322942761732032294276',
                showLabel: true,
                labelWidth: null,
                optionType: 'default',
                optionsType: 0,
                showRegList: true,
                defaultValue: [],
                otherRequired: true,
                dynamicOptions: {
                  url: '',
                  dataPath: '',
                  labelField: '',
                  valueField: ''
                },
                quotaCycleRule: 'fixed',
                showVoteResult: false,
                quotaRecoverable: true,
                quotaBlankWarning: '',
                withExclusiveChoice: false,
                exclusiveChoiceApiCodes: [],
                hideChoiceWhenQuotaEmpty: false
              },
              typeId: 'CHECKBOX',
              vModel: 'checkbox1732032294276',
              disabled: false
            },
            regList: [],
            textLabel: '\n电子协议内容\n\n\n\n\n\n宽带需移动网络覆盖区域才可使用，48套餐宽带限部分校区使用\n\n\n\n'
          },
          {
            id: 244068,
            createTime: '2024-11-20 00:14:05',
            updateTime: '2024-11-20 00:15:02',
            formKey: 'LJaJ4FNx',
            formItemId: 'sign_pad1732032844240',
            type: 'SIGN_PAD',
            label: '<div class="ant-col ant-form-item-label">\n<div>签名视为签署并知晓业务电子协议</div>\n</div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: '',
            required: true,
            placeholder: '',
            sort: 1769472,
            span: 24,
            scheme: {
              sort: 1769472,
              color: '#000000',
              style: {
                width: '100%'
              },
              action: '/form/file/upload/LJaJ4FNx',
              config: {
                tag: 'sign-pad',
                span: 24,
                label: '<div class="ant-col ant-form-item-label">\n<div>签名视为签署并知晓业务电子协议</div>\n</div>',
                formId: 'sign_pad1732032844240',
                regList: [],
                tagIcon: 'sign-pad',
                required: true,
                changeTag: false,
                mobileTag: 'mobile-sign-pad',
                renderKey: 'sign_pad17320328442401732032844240',
                showLabel: true,
                showRegList: false,
                defaultValue: '',
                showRequired: true,
                showClearable: false,
                showDefaultValue: true
              },
              typeId: 'SIGN_PAD',
              vModel: 'sign_pad1732032844240',
              textConfig: {
                tips: '请在上面区域完成签名 然后点击确"确认"按钮',
                backBtnText: '回撤',
                clearBtnText: '清除',
                reSignBtnText: '重签',
                confirmBtnText: '确认'
              }
            },
            regList: [],
            textLabel: '\n签名视为签署并知晓业务电子协议\n'
          },
          {
            id: 244069,
            createTime: '2024-11-20 00:15:32',
            updateTime: '2024-11-20 00:22:40',
            formKey: 'LJaJ4FNx',
            formItemId: 'goods_select1732032930841',
            type: 'GOODS_SELECT',
            label: '<p>办理费用0.01</p>',
            displayType: false,
            hideType: false,
            specialType: true,
            showLabel: true,
            defaultValue: '{"1":1}',
            required: true,
            placeholder: '此题为必填项目',
            sort: 1835008,
            span: 15,
            scheme: {
              dId: 244069,
              key: 'goods_select17320329308411732033342428244069',
              sort: 1835008,
              style: {
                width: '100%'
              },
              config: {
                tag: 't-goods',
                span: 15,
                label: '<p>办理费用0.01</p>',
                formId: 'goods_select1732032930841',
                regList: [],
                tagIcon: 'goods',
                hideType: false,
                required: true,
                changeTag: false,
                renderKey: 'goods_select17320329308411732032930841',
                showLabel: true,
                labelWidth: null,
                showRegList: false,
                defaultValue: {
                  1: 1
                },
                showRequired: true,
                showDefaultValue: false
              },
              typeId: 'GOODS_SELECT',
              vModel: 'goods_select1732032930841',
              regList: [],
              goodsList: [
                {
                  id: 1,
                  count: 1,
                  price: 0.01,
                  imgList: [
                    {
                      uid: 1732033209296,
                      url: 'https://pro-oss.tduckcloud.com/proImage/6c2fdcf862a752ca2c9e49866a05e1df/89ae2fb95f2949319145455256153db2.png',
                      status: 'success'
                    }
                  ],
                  goodsName: '校园活动续约',
                  inventory: 99999,
                  finalPrice: 0.01,
                  description: '缴费0.01',
                  remainInventory: 99999
                }
              ],
              formItemId: 'goods_select1732032930841',
              displayType: false,
              placeholder: '此题为必填项目',
              showInventory: true,
              showGoodsPhoto: true
            },
            regList: [],
            textLabel: '办理费用0.01'
          },
          {
            id: 244070,
            createTime: '2024-11-20 00:17:25',
            updateTime: '2024-11-20 00:17:52',
            formKey: 'LJaJ4FNx',
            formItemId: 'input1732033044362',
            type: 'INPUT',
            label: '<div class="ant-col ant-form-item-label">\n<div>推荐您的人姓名</div>\n</div>',
            displayType: false,
            hideType: false,
            specialType: false,
            showLabel: true,
            defaultValue: null,
            required: true,
            placeholder: '请输入推荐人姓名',
            sort: 1900544,
            span: 14,
            scheme: {
              sort: 1900544,
              style: {
                width: '100%'
              },
              config: {
                tag: 't-input',
                span: 14,
                label: '<div class="ant-col ant-form-item-label">\n<div>推荐您的人姓名</div>\n</div>',
                append: '',
                formId: 'input1732033044362',
                prepend: '',
                regList: [],
                tagIcon: 'input',
                dataType: {
                  type: '',
                  message: ''
                },
                required: true,
                changeTag: true,
                renderKey: 1732033065001,
                showLabel: true,
                labelWidth: null
              },
              typeId: 'INPUT',
              vModel: 'input1732033044362',
              disabled: false,
              readonly: false,
              clearable: true,
              maxlength: null,
              minlength: null,
              notRepeat: false,
              placeholder: '请输入推荐人姓名',
              'prefix-icon': '',
              'suffix-icon': '',
              'show-word-limit': false
            },
            regList: [],
            textLabel: '\n推荐您的人姓名\n'
          }
        ],
        success: true
      }
    }
  },
  {
    url: '/getInfo',
    type: 'get',
    response: (res) => {
      return {
        code: 200,
        msg: null,
        data: {
          permissions: [
            'activiti:process',
            'form:theme:category:update',
            'system:post:list',
            'monitor:operlog:export',
            'form:theme:query',
            'form:theme:page',
            'system:menu:query',
            'tool:gen:edit',
            'system:menu:list',
            'project:recycle:list',
            'system:user:query',
            'form:theme:save',
            'tool:gen:query',
            'system:job:query',
            'system:dept:query',
            'system:dict:list',
            'workflow:process:delete',
            'sys:mymessage:list',
            'form:template:category:query',
            'form:template:category:save',
            'system:notice:list',
            'system:dict:query',
            'sys:msgtemplate:list',
            'system:job:export',
            'tool:gen:import',
            'form:theme:category:query',
            'system:job:update',
            'system:job:changeStatus',
            'tool:gen:list',
            'sys:announcement:query',
            'system:post:query',
            'form:todo:page',
            'workflow:process:start',
            'system:job:remove',
            'workflow:process:cancel',
            'sys:sensitiveword:add',
            'system:config:list',
            'system:job:add',
            'system:role:list',
            'form:template:category:update',
            'system:job:list',
            'sys:sensitiveword:update',
            'project:form:list',
            'form:template:category:page',
            'system:dept:list',
            'system:config:query',
            'monitor:operlog:remove',
            'monitor:operlog:list',
            'form:theme:update',
            'form:theme:category:save',
            'tool:swagger:list',
            'tool:gen:preview',
            'monitor:operlog:query',
            'sys:msgtemplate:query',
            'form:template:save',
            'system:user:list',
            'project:my:list',
            'sys:sensitiveword:page',
            'project:template:list',
            'form:theme:category:page',
            'system:deptpost:list',
            'sys:sensitiveword:delete',
            'tool:gen:code',
            'tool:gen:remove',
            'system:role:query',
            'sys:sensitiveword:query'
          ],
          roles: ['2'],
          user: {
            id: 8849,
            deptId: 115,
            userName: '18202322320',
            nickName: '18202322320',
            email: '',
            phonenumber: '',
            sex: '0',
            avatar: '',
            password: '$2a$10$NBoiyXH6H3s5g2mFM6YPN.k0rnSi8qBaBDz.e/BWYmmdJcpJCUH6W',
            status: '0',
            delFlag: '0',
            loginIp: '',
            loginDate: '2024-12-20 12:48:10',
            dept: {
              id: 115,
              parentId: 114,
              ancestors: '0,100,114',
              deptName: '注册用户',
              orderNum: '4',
              leader: null,
              phone: null,
              email: null,
              status: '0',
              delFlag: null,
              parentName: null
            },
            roles: [
              {
                id: 15,
                roleName: '默认注册',
                roleKey: '2',
                roleSort: '2',
                dataScope: '4',
                menuCheckStrictly: null,
                deptCheckStrictly: null,
                status: '0',
                delFlag: null,
                flag: null,
                menuIds: null,
                remark: null
              }
            ],
            roleIds: null,
            postIds: null,
            updateTime: null,
            createTime: '2024-11-19 22:46:36'
          }
        },
        success: true
      }
      // 使用return返回前端需要的数据
    }
  },
  {
    url: '/public/systemInfoConfig',
    type: 'get',
    response: (res) => {
      return {
        code: 200,
        msg: null,
        data: '{"logo":"","name":"填鸭表单PRO","logoImg":"http://pro-oss.tduckcloud.com/6d4fa9c6ee554cd193161c4e658cb5e6.png","copyright":"<p style=\\"text-align: center;\\"><span style=\\"color: #e03e2d;\\"><span style=\\"font-size: 12px;\\">演示环境表单执行自动停止策略-请勿用作正式用途  </span><span style=\\"font-size: 12px;\\"><a style=\\"color: #e03e2d;\\" href=\\"https://beian.miit.gov.cn/#/Integrated/index\\">湘ICP备19005498号-3</a> </span></span></p>\\n<p style=\\"text-align: center;\\"><span style=\\"color: #e03e2d;\\"><span style=\\"font-size: 12px;\\"> Copyright © 2018 - 2024 Power by TDuckCloud 填鸭表单  湖南省众达数蔚信息技术有限公司 -  </span><span style=\\"font-size: 12px;\\"><a style=\\"color: #e03e2d; text-decoration: underline;\\" href=\\"https://doc.tduckcloud.com/functionDesc/account.html\\" target=\\"_blank\\" rel=\\"noopener\\">获取演示账号</a></span></span></p>","webBaseUrl":"http://pro.tduckcloud.com","backgroundImage":"https://pro-oss.tduckcloud.com/proImage/d5c6136f3f6d481794b378f265776aa2.jpeg","allowThirdPartyLogin":true,"thirdPartyLoginTypeList":["wechatOpen","wechatEnterprise"]}',
        success: true
      }
      // 使用return返回前端需要的数据
    }
  }
]
